package com.powernode.model;

/**
 * @version 1.0
 * @Date 2024/8/15 7:47
 * @Author 付~~~
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录统一结果对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("登录统一结果对象")
public class LoginResult {

    @ApiModelProperty("token令牌")
    private String accessToken;
    @ApiModelProperty("有效时长")
    private Long expireIn; //在多长时间内过期
}
